package com.wondertek.service.sdk.iotdh.dto.res.doorDetector;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

@Data
public class DoorDetectorAccessoryInfo {
    @Schema(description = "配件ID，必须字段", required = true)
    private String id;

    @Schema(description = "配件名称，非必须字段", required = false)
    private String name;

    @Schema(description = "配件外设禁用状态：0-启用所有功能；1-禁用防拆功能；2-禁用所有功能", required = false)
    private Integer state;

    @Schema(description = "LED指示灯使能，非必须字段：false-关闭；true-开启", required = false)
    private Boolean ledEnable;

    @Schema(description = "外部输入，非必须字段：false-关闭；true-开启", required = false)
    private Boolean externalAlarmEnable;

    @Schema(description = "铃声功能使能，非必须字段：true-开启；false-关闭", required = false)
    private Boolean chime;

    @Schema(description = "发射功率，非必须字段：-3-低；-1-中；0-动态；1-高", required = false)
    private Integer powerRegulation;

    private OverTemperatureAlarm overTemperatureAlarm;

    @Schema(description = "24H防区 false-关闭； true-开启", required = false)
    private Boolean defenceStatus24H;

    private List<ArmingInfo> armingInfo;

    @Schema(name = "entryDelay", description = "进⼊布防延迟⽣效时间 0-120s。 单位：s", required = false)
    private Integer entryDelay;

    @Schema(name = "exitDelay", description = "退出布防延迟⽣效时间 0-120s。 单位：s", required = false)
    private Integer exitDelay;

    @Schema(name = "recordEnable", description = "报警联动视频通道使能 ⼊参必须同时有视频通道recordChannels。 true-开启；false-关闭", required = false)
    private Boolean recordEnable;

    @Schema(name = "recordChannels", description = "联动视频通道列表", required = false)
    private String[] recordChannels;

    @Schema(name = "signalStrengthTest", description = "信号强度测试 false-关； true-开", required = false)
    private Boolean signalStrengthTest;

    @Schema(name = "sensitivityTest", description = "灵敏度测试、探测器测试 false-关闭；true-开启", required = false)
    private Boolean sensitivityTest;

    private ExternaSensors externaSensors;

}
